package com.zs.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Admin {
    private int id;
    private String aname;
    private String apwd;
    private String phone;
    private String email;
    public Admin(String aname, String apwd) {
        this.aname = aname;
        this.apwd = apwd;
    }

    public Admin(String aname, String apwd, String phone, String email) {
        this.aname = aname;
        this.apwd = apwd;
        this.phone = phone;
        this.email = email;
    }
}
